﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.X.Rabbit.Domain.Autofac
{
    /// <summary>
    /// 基础信息
    /// </summary>
    public class BaseFieId:IAuditable
    {
        /// <summary>
        /// 创建人ID
        /// </summary>
        public int CreateOperatorId { get; set; }
        /// <summary>
        /// 创建人名称
        /// </summary>
        public string? CreateOperatorName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人ID
        /// </summary>
        public int? ModifyOperatorId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? ModifyOperatorName { get; set; }

        /// <summary>
        /// 删除人ID
        /// </summary>
        public int? DeleteOperatorId { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteDate { get; set; }
        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string? DeleteOperatorName { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
